// 配置全局的文件，比如不经常修改的目录和导航栏
//需要再main.js中进行引入(针对logo)
// narBar的名称还需要在layout文件中的data中保存
// 还需要在页面初始化create时进行菜单的初始化    created() this.navBar = this.$conf.navBar;
export default {
    logo: "CHERRY-SHOP",
    navBar: {
        active: '0',
        list: [
            {
                name: "首页",
                subActive: '0',
                submenu: [
                    {
                        icon: "el-icon-s-home",
                        name: "后台首页",
                        pathname: "BackendIndex",
                    },
                    {
                        icon: "el-icon-picture",
                        name: "相册管理",
                        pathname: "image",
                    },
                ]
            },
            {
                name: "商品",
                subActive: '1',
                submenu: [
                    {
                        icon: "el-icon-s-goods",
                        name: "商品列表",
                        pathname: "shop/goods/list",
                    }, {
                        icon: "el-icon-s-help",
                        name: "分类管理",
                        pathname: "shop/category/list",
                    }, {
                        icon: "el-icon-shopping-cart-full",
                        name: "商品规格管理",
                        pathname: "shop/sku/list",
                    }, {
                        icon: "el-icon-tickets",
                        name: "商品类型管理",
                        pathname: "shop/type/list",
                    }, {
                        icon: "el-icon-s-comment",
                        name: "商品评论管理",
                        pathname: "shop/comment/list",
                    },
                ]
            },
            {
                name: "订单",
                subActive: '2',
                submenu: [
                    {
                        icon: "el-icon-s-goods",
                        name: "订单列表",
                        pathname: "order/order/list",
                    },
                    {
                        icon: "el-icon-s-goods",
                        name: "发票管理",
                        pathname: "order/invoice/list",
                    },
                    {
                        icon: "el-icon-s-goods",
                        name: "售后服务",
                        pathname: "order/after-sale/list",
                    },
                ]
            },
            {
                name: "会员",
                subActive: '3',
                submenu: [
                    {
                        icon: "el-icon-s-goods",
                        name: "会员列表",
                        pathname: "user/userlist/list",
                    }, 
                    {
                        icon: "el-icon-s-goods",
                        name: "会员等级",
                        pathname: "user/user-level/list",
                    }, 
                ]
            },
            {
                name: "设置",
                subActive: '4',
                submenu: [
                    {
                        icon: "el-icon-s-home",
                        name: "基础设置",
                        pathname: "set/base",
                    }, 
                    {
                        icon: "el-icon-s-home",
                        name: "物流设置",
                        pathname: "set/express",
                    },
                    {
                        icon: "el-icon-s-home",
                        name: "管理员管理",
                        pathname: "set/manager",
                    },{
                        icon: "el-icon-s-home",
                        name: "交易管理",
                        pathname: "set/payment",
                    },
                ]
            }
        ]
    }
}
